Configures a list of OneConfig dynamic Auto-peering static routes.
auto-peering | Specifies Auto-peering. |
one-config | Specifies changing the BGP Auto-peering OneConfig configuration. |
iproute | Specifies configuring the dynamic IP route configured when the host IP address attaches to the device. |
add | Adds route. |
delete | Deletes routes. |
host | Specifies the IPv4 host address. |
hostv6 | Specifies the IPv6 host address. |
ipaddress | Specifies the IPv4 address. |
netmask | Specifies the IPv4 netmask. |
ipNetmask | Specifies the IPv4 netmask/mask. |
gateway | Specifies the IPv4 gateway address. |
ipNetmaskv6 | Specifies the IPv6 address/netmask. |
\gatewayv6 | Specifies the IPv6 gateway address. |
vr | Specifies selecting the virtual router (VR) If you do not specify a VR or VRF, the current VR context is used. |
vrname | Specifies the VR name. |
If you do not specify a VR or VRF, the current VR context is used.
The switch holds the static route in the dynamic database until the host attaches to the switch. The routes are applied in the route table when the host IP address is discovered on a local access port. They are removed when the host is no longer connected to the device. To see if the host routes are properly installed, use the show iproute {ipv4} {priority | vlan vlan_name | permanent | ip_address netmask | summary} {multicast | unicast} {vr vrname}} command.
The following example adds the static IP route for host 50.1.102.101, IP/netmask 60.1.1.0/24, gateway 50.1.102.101 on VR "red":
# configure auto-peering oneconfig iproute add 50.1.102.101 60.1.1.0/24 50.1.102.101 vr red
This command was first available in ExtremeXOS 31.1.
This command is available on all Universal switches supported in this document.